<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="<%=basePath%>">
<!-- Bootstrap -->
<link href="vendor/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">

<!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<title>客户信息</title>
</head>
<body>
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<table class="table table-striped table-hover">
					<tr>
						<td>编号</td>
						<td>姓名</td>
						<td>性别</td>
						<td>年龄</td>
						<td>用户名</td>
						<td>操作</td>
					</tr>
					<c:forEach items="${user }" var="u">
						<tr>
							<td>${u.id }</td>
							<td>${u.name }</td>
							<td>${u.gender }</td>
							<td>${u.age }</td>
							<td>${u.username }</td>
							<td><a class="btn btn-warning btn-xs" href="">修改</a></td>
						</tr>
					</c:forEach>
          		</table>
			</div>
		</div>
	</div>

	<script src="vendor/jquery/jquery.min.js"></script>
	<script src="vendor/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
</body>
</html>